﻿using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using System.Text;

using Prism.Games.GalEngine.Scripts.FunctionModel;
using Prism.Games.GalEngine.Scripts.Data.ResourceCollection;

namespace Prism.Games.GalEngine.Scripts.Data.BranchSystem
{
    /// <summary>
    /// 选择器类型，提供了出现选择到选择为止的所有逻辑。
    /// </summary>
    [Serializable]
    public class Selector : SceneObject, IItemIncrementalMarkableHost
    {
        public Selector(IItemIncrementalMarkable host)
        {
            this.Options = new OptionCollection();
            this.Host = host;
        }

        private OptionCollection options;
        public OptionCollection Options { get { return this.options; } set { if (value != this.options) { this.options = value; this.OnPropertyChanged("Options"); } } }



        public IItemIncrementalMarkable Host
        {
            get;
            set;
        }
    }
}
